package com.ant.storage.mapper;

import com.ant.storage.pojo.Cashbook;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author melon
 * @since 2023-11-09
 */
public interface CashbookMapper extends BaseMapper<Cashbook> {

    Cashbook selectMaxList(@Param("cityId") Integer cityId);

    String getCountBalance(@Param("cityId") Integer cityId);

    String getCountIncome(@Param("cityId") Integer cityId);

    String getCountExpend(@Param("cityId") Integer cityId);


}
